#ifndef PUSHBOX_H
#define PUSHBOX_H
#include<QMainWindow>
#include"game.h"
#include"tip.h"

namespace Ui {
class pushbox;
}

class pushbox : public QMainWindow
{
    Q_OBJECT

public:
    explicit pushbox(QWidget *parent = 0);
    ~pushbox();
    void keyPressEvent(QKeyEvent *event);
    void paintEvent(QPaintEvent* event);

private slots:
    void on_actionremake_triggered();

private:
    Ui::pushbox *ui;
    QPainter* pmap;
    game* pbox;
};

#endif // PUSHBOX_H
